<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.css" rel="stylesheet">
    <link rel="stylesheet" href="./css/news.css">
    <link rel="stylesheet" href="./css/registered.css">
    <link rel="stylesheet" href="./css/manage.css">
    <style>
        html,
        body {
            background: #e9f0fa !important;
        }
    </style>
</head>

<body>
    <div class="news_panel">
        <h3 class="text-primary">人员管理</h3>
        <!-- 面包屑 -->
        <div class="ol breadcrumb">
            <li>
                首页
            </li>
            <li>
                <a href="#">
                    人员管理
                </a>
            </li>
        </div>
        <!-- 新闻面板 -->
        <div class="row">
            <div class="col-md-12">
                <div class="panel panel-default panel-registered">
                    <div class="panel-heading lightblue">
                        <p>
                            <span class="registered"></span> 人员管理</p>
                    </div>
                    <div class="panel-body" id="registered">
                        <button type="button" class="btn btn-primary add">添加</button>
                        <button type="button" class="btn btn-primary">删除</button>
                        <div class="col-md-2 col-sm-2 pull-right">
                            <div class="input-group">
                                <input type="text" class="form-control" placeholder="搜索">
                                <span class="input-group-btn">
                                    <button class="btn btn-default" type="button">
                                        <span class="glyphicon glyphicon-search"></span>
                                    </button>
                                </span>
                            </div>
                        </div>
                        <table class="table table-striped">
                            <tr>
                                <th></th>
                                <th>序号</th>
                                <th>姓名</th>
                                <th>身份证号</th>
                                <th>公司名称</th>
                                <th>性别</th>
                                <th>联系方式</th>
                                <th>操作</th>
                            </tr>
                            <tr>
                                <td>
                                    <input type="checkbox">
                                </td>
                                <td>01</td>
                                <td>
                                    王小庚
                                </td>
                                <td>245755199605202266</td>
                                <td>山东清远建筑有限公司</td>
                                <td>男</td>
                                <td>15888888888</td>
                                <td>
                                    <button type="button" class="btn btn-warning">删除</button>
                                    <button type="button" class="btn btn-primary editor">编辑</button>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <input type="checkbox">
                                </td>
                                <td>01</td>
                                <td>
                                    王小庚
                                </td>
                                <td>245755199605202266</td>
                                <td>山东清远建筑有限公司</td>
                                <td>男</td>
                                <td>15888888888</td>
                                <td>
                                    <button type="button" class="btn btn-warning">删除</button>
                                    <button type="button" class="btn btn-primary editor">编辑</button>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <input type="checkbox">
                                </td>
                                <td>01</td>
                                <td>
                                    王小庚
                                </td>
                                <td>245755199605202266</td>
                                <td>山东清远建筑有限公司</td>
                                <td>男</td>
                                <td>15888888888</td>
                                <td>
                                    <button type="button" class="btn btn-warning">删除</button>
                                    <button type="button" class="btn btn-primary editor">编辑</button>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <input type="checkbox">
                                </td>
                                <td>01</td>
                                <td>
                                    王小庚
                                </td>
                                <td>245755199605202266</td>
                                <td>山东清远建筑有限公司</td>
                                <td>男</td>
                                <td>15888888888</td>
                                <td>
                                    <button type="button" class="btn btn-warning">删除</button>
                                    <button type="button" class="btn btn-primary editor">编辑</button>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <input type="checkbox">
                                </td>
                                <td>01</td>
                                <td>
                                    王小庚
                                </td>
                                <td>245755199605202266</td>
                                <td>山东清远建筑有限公司</td>
                                <td>男</td>
                                <td>15888888888</td>
                                <td>
                                    <button type="button" class="btn btn-warning">删除</button>
                                    <button type="button" class="btn btn-primary editor">编辑</button>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <input type="checkbox">
                                </td>
                                <td>01</td>
                                <td>
                                    王小庚
                                </td>
                                <td>245755199605202266</td>
                                <td>山东清远建筑有限公司</td>
                                <td>男</td>
                                <td>15888888888</td>
                                <td>
                                    <button type="button" class="btn btn-warning">删除</button>
                                    <button type="button" class="btn btn-primary editor">编辑</button>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <input type="checkbox">
                                </td>
                                <td>01</td>
                                <td>
                                    王小庚
                                </td>
                                <td>245755199605202266</td>
                                <td>山东清远建筑有限公司</td>
                                <td>男</td>
                                <td>15888888888</td>
                                <td>
                                    <button type="button" class="btn btn-warning">删除</button>
                                    <button type="button" class="btn btn-primary editor">编辑</button>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <input type="checkbox">
                                </td>
                                <td>01</td>
                                <td>
                                    王小庚
                                </td>
                                <td>245755199605202266</td>
                                <td>山东清远建筑有限公司</td>
                                <td>男</td>
                                <td>15888888888</td>
                                <td>
                                    <button type="button" class="btn btn-warning">删除</button>
                                    <button type="button" class="btn btn-primary editor">编辑</button>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <input type="checkbox">
                                </td>
                                <td>01</td>
                                <td>
                                    王小庚
                                </td>
                                <td>245755199605202266</td>
                                <td>山东清远建筑有限公司</td>
                                <td>男</td>
                                <td>15888888888</td>
                                <td>
                                    <button type="button" class="btn btn-warning">删除</button>
                                    <button type="button" class="btn btn-primary editor">编辑</button>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <input type="checkbox">
                                </td>
                                <td>01</td>
                                <td>
                                    王小庚
                                </td>
                                <td>245755199605202266</td>
                                <td>山东清远建筑有限公司</td>
                                <td>男</td>
                                <td>15888888888</td>
                                <td>
                                    <button type="button" class="btn btn-warning">删除</button>
                                    <button type="button" class="btn btn-primary editor">编辑</button>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <input type="checkbox">
                                </td>
                                <td>01</td>
                                <td>
                                    王小庚
                                </td>
                                <td>245755199605202266</td>
                                <td>山东清远建筑有限公司</td>
                                <td>男</td>
                                <td>15888888888</td>
                                <td>
                                    <button type="button" class="btn btn-warning">删除</button>
                                    <button type="button" class="btn btn-primary editor">编辑</button>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <input type="checkbox">
                                </td>
                                <td>01</td>
                                <td>
                                    王小庚
                                </td>
                                <td>245755199605202266</td>
                                <td>山东清远建筑有限公司</td>
                                <td>男</td>
                                <td>15888888888</td>
                                <td>
                                    <button type="button" class="btn btn-warning">删除</button>
                                    <button type="button" class="btn btn-primary editor">编辑</button>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <input type="checkbox">
                                </td>
                                <td>01</td>
                                <td>
                                    王小庚
                                </td>
                                <td>245755199605202266</td>
                                <td>山东清远建筑有限公司</td>
                                <td>男</td>
                                <td>15888888888</td>
                                <td>
                                    <button type="button" class="btn btn-warning">删除</button>
                                    <button type="button" class="btn btn-primary editor">编辑</button>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <input type="checkbox">
                                </td>
                                <td>01</td>
                                <td>
                                    王小庚
                                </td>
                                <td>245755199605202266</td>
                                <td>山东清远建筑有限公司</td>
                                <td>男</td>
                                <td>15888888888</td>
                                <td>
                                    <button type="button" class="btn btn-warning">删除</button>
                                    <button type="button" class="btn btn-primary editor">编辑</button>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <input type="checkbox">
                                </td>
                                <td>01</td>
                                <td>
                                    王小庚
                                </td>
                                <td>245755199605202266</td>
                                <td>山东清远建筑有限公司</td>
                                <td>男</td>
                                <td>15888888888</td>
                                <td>
                                    <button type="button" class="btn btn-warning">删除</button>
                                    <button type="button" class="btn btn-primary editor">编辑</button>
                                </td>
                            </tr>
                        </table>
                        <!-- 分页 -->
                        <nav aria-label="Page navigation" class="pull-right">
                            <ul class="pagination">
                                <li class="disabled">
                                    <a href="#" aria-label="Previous">
                                        <span aria-hidden="true">&laquo;</span>
                                    </a>
                                </li>
                                <li class="active">
                                    <a href="#">1
                                    </a>
                                </li>
                                <li>
                                    <a href="#">2
                                    </a>
                                </li>
                                <li>
                                    <a href="#">3
                                    </a>
                                </li>
                                <li>
                                    <a href="#">4
                                    </a>
                                </li>
                                <li>
                                    <a href="#">5
                                    </a>
                                </li>
                                <li>
                                    <a href="#">6
                                    </a>
                                </li>
                                <li>
                                    <a href="#" aria-label="Next">
                                        <span aria-hidden="true">&raquo;</span>
                                    </a>
                                </li>
                            </ul>
                        </nav>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.js"></script>
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.js"></script>
    <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.js"></script>
    <script>
        $(function () {
            $('.panel-heading a').click(function () {
                var index = $(this).index();
                $(this).addClass('active').siblings('a').removeClass('active');
                $('.panel-body').eq(index).show().siblings('.panel-body').hide();
            })
            $('.add').click(function () {
                $('iframe', parent.document).attr('src', './manage_add.html');
            })
            $('.editor').click(function () {
                $('iframe', parent.document).attr('src', './manage_editor.html');
            })
        })
        function show(child) {
            if (child == 'registered') {
                $('a[href=registered]').addClass('active').next('a').removeClass('active');
                $('#registered').show().next('#entered').hide();
            } else {
                $("a[href=entered]").addClass('active').prev('a').removeClass('active');
                $('#entered').show().prev('#registered').hide();
            }
        }
    </script>
</body>

</html>